package zero.tech.games.gateway.config;

import org.springframework.context.annotation.Bean;

import com.netflix.client.config.IClientConfig;
import com.netflix.loadbalancer.IRule;

public class CustomRibbonConfig {
	@Bean
	public IRule ribbonRule(IClientConfig config) {
		CustomRouter rule= new CustomRouter();
		rule.initWithNiwsConfig(config);
		return rule;
	}
}